feat: add text-to-speech announcement hooks#2
Merged
timoconnellaus merged 2 commits intomasterfrom Jul 8, 2025
Merged
Conversation
🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
Add announcement hooks for all Claude Code event types: - announceStop: announces task completion - announceSubagentStop: announces subagent task completion - announcePreToolUse: announces before tool execution - announcePostToolUse: announces after tool execution - announceNotification: speaks notification messages Features: - Cross-platform TTS support (macOS, Linux, Windows) - Customizable messages with template variables - Voice and speech rate configuration - Custom TTS command support - Tool matchers for selective announcements 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Features
This PR adds the following text-to-speech announcement hooks:
announceStop- Announces when main tasks completeannounceSubagentStop- Announces when subagent tasks completeannouncePreToolUse- Announces before tool executionannouncePostToolUse- Announces after tool executionannounceNotification- Speaks notification messages aloudKey Features:
say, Linuxespeak, Windows PowerShell SAPI)announceTaskCompletionnamesExample Usage
Test Plan
🤖 Generated with Claude Code